package com.iam.core.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.security.rsa.crypto.RsaAlgorithm;
import org.springframework.stereotype.Component;

/**
 * @author camel
 */
@Data
@Component
@ConfigurationProperties("iam.encrypt")
public class Rsaconfig {

    private RsaAlgorithm algorithm;
    private String privateKey;
    private String publicKey;

}
